//
//  ERBaseVC.m
//  EnjoyRunning
//
//  Created by ljm on 2017/3/15.
//  Copyright © 2017年 ljm. All rights reserved.
//

#import "ERBaseVC.h"

@interface ERBaseVC ()

@end

@implementation ERBaseVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    /*
     *    设置的主背景颜色
     */
    self.view.backgroundColor = [UIColor colorWithRed:48/255.0 green:46/255.0 blue:63/255.0 alpha:1.f];
    
    /*
     *    调用注释的方法
     */
    [self addTips];
}

#pragma mark -- 添加注释的方法
- (void)addTips
{
    _tips = [[UILabel alloc]initWithFrame:[UIScreen mainScreen].bounds];
    _tips.text = @"";
    _tips.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:_tips];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
